package com.ctshk.rpc.booking.req.system.localfun.edit;


import com.ctshk.rpc.booking.req.system.localfun.add.SupplierSystemOrderLocalFunDetailAddReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 系统内当地玩乐基础信息
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-03-25
 */
@Data


@ApiModel(value="SupplierSystemOrderLocalFunEditReq对象", description="系统内当地玩乐基础信息")
public class SupplierSystemOrderLocalFunEditReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "LocalFun id不能为空")
    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "所属订单ID")
    private Long orderId;

    @ApiModelProperty(value = "客人备注")
    private String customerRemark;

    @ApiModelProperty(value = "供应商备注")
    private String supplierRemark;

    @Valid
    @NotEmpty(message = "本地玩乐详情列表不能为空")
    @ApiModelProperty(value = "本地玩乐详情列表")
    private List<SupplierSystemOrderLocalFunDetailEditReq> supplierSystemOrderLocalFunDetailEditReqList;
}
